import {getBaseChartConfig, simpleData} from '@/package/widget/chart/01base/util'

export default {
  name: '圆柱图',
  icon: '/img/chart/bar2.png',
  type: '柱状图',
  cptKey: 'bar02',
  width: 500,
  height: 300,
  dynamic: true,
  options: {
    cptDataForm: {
      dataText: JSON.stringify(simpleData),
      dataSource: 1,
      pollTime: 0
    },
    attribute: {
      ...getBaseChartConfig(),
      series: {
        label: {
          show: false,
          position: 'top',
          formatter: '{c}',
          color: '#FFF',
          fontSize: 12
        },
        colors: ['#77AFFE', '#3D8BF8', '#0545A5']
      }
    }
  }
}
